package rents.internal;

import java.util.Random;

import rents.AccountContribution;
import rents.RentConfirmation;
import rents.User;
import rents.internal.rent.RentRepository;

public class StubRentRepository implements RentRepository {

	public RentConfirmation confirmRent(AccountContribution contribution, User user) {
		return new RentConfirmation(confirmationNumber(), contribution);
	}

	private String confirmationNumber() {
		return new Random().toString();
	}
	
	
	
}
